package com.tian.mapper;

import com.tian.entity.UserBalance;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserBalanceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserBalance record);

    UserBalance selectByPrimaryKey(Long id);

    List<UserBalance> selectAll();

    int updateByPrimaryKey(UserBalance record);

    UserBalance selectByUserId(Long userId);
}